import React, {Component} from 'react'

import Base from "./Base" // 公用
import ZM1T6 from "./ZM1T6"
import GG from "./GG"
import LM from "./LM"
import BB from "./BB"
import YXYZTW from "./YXYZTW"
import TXTW from "./TXTW"
import ShengXiao from "./ShengXiao"// 生肖用
import WeiShu from "./Weishu"// 尾数用

export default class HK6Body extends Component {
  constructor (props){
   super(props)
   this.state= {
   }
}
   render() {
    const {itemcode} = this.props
    // 正码1-6  过关
    switch(itemcode){
      case "GG" :
      return <GG {...this.props}></GG>
      
      case "ZM1T6":
      return <ZM1T6 {...this.props}></ZM1T6>

      case "YXYZTW":
      return <YXYZTW {...this.props}></YXYZTW>

      case "TXTW":
      return <TXTW {...this.props}></TXTW> 

      case "LM":
      return <LM {...this.props}></LM>

      case "BB":
      return <BB {...this.props}></BB>

      case "WSL":
      return <WeiShu {...this.props}></WeiShu>

      case "LX":
      return <ShengXiao {...this.props}></ShengXiao>

      case "HX":
      return <ShengXiao {...this.props}></ShengXiao>

      default :
      return <Base {...this.props}></Base>
    }
   }
}